<!DOCTYPE html>
<html lang="en">

<head>
    <title></title>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link href="css/style.css" rel="stylesheet">
</head>
<style>
    .box1,
    .box2 {
        width: 100px;
        height: 100px;
    }

    .box1 {
        float: left;
        background-color: red;
    }

    .box2 {
        background-color: orange;
    }
</style>

<body>
    <div class="box1"></div>
    <div class="box2"></div>
</body>

</html>